<template>
  <el-radio-group :disabled="activeData.disabled" :style="activeData.style" :size="activeData.size">
    <template v-for="item in activeData.options" :key="item.value">
      <el-radio-button v-if="activeData._config_.optionType === 'button'" :label="item.value">
        {{ item.label }}
      </el-radio-button>
      <el-radio v-else :value="item.value" :border="activeData._config_.border">
        {{ item.label }}
      </el-radio>
    </template>
  </el-radio-group>
</template>
<script setup lang="ts" name="GoodRadioGroup">
defineProps({
  activeData: {
    type: Object,
    default: () => {
      {
      }
    }
  }
});
</script>
